$(document).ready(function() {
		$("#searchBespeakNumber").click(function (){
		var bespeakNumber=$("#searchBespeakNumber").val();
				if(""!=bespeakNumber){
			 if(!(/^\d+$/.test(bespeakNumber))) {
				 layer.tips('请填写正确的预约数字', '#searchBespeakNumber', {
					  tips: [1, '#3595CC'],
					  time: 4000
					});
				 return false;
			 }
		}
		if((new String(bespeakNumber)).length!=11){
			layer.tips('请填写11位的预约编码', '#searchBespeakNumber', {
				  tips: [1, '#3595CC'],
				  time: 4000
				});
			return false;
		}});
		$("#inputForm").validate({
				submitHandler: function(form){
				
					form.submit();
				},
		
		
	});
		});
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
        	return false;
        }